package com.neu.his.entity;

import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Regist extends Base {
    private Long patientId;
    private Long registLevel;
    private boolean needBook;
    private BigDecimal totalCost;
    private boolean isPaid;
    private String invoiceNumber;
    private Date registDate;
    private Long doctorId;
    private Long departmentId;
    private boolean haveDeliver;

    @TableField(exist = false)
    private Doctor doctor;
    @TableField(exist = false)
    private RegistLevel registLevelEn;
    @TableField(exist = false)
    private Department department;
    @Override
    public String toString(){
        return JSON.toJSONString(this);
    }
}
